clc;
clear;
% h = animatedline;
% axis([0 4*pi -1 1])
% x = linspace(0,4*pi,2000);
%  
% for k = 1:length(x)
%     y = sin(x(k));
%     addpoints(h,x(k),y);
%     pause(.001);
%     drawnow limitrate
% end
% drawnow


axis([-1 1 -1 1 -1 1]);
theta_ed = pi/6;
h = animatedline;